package com.xuerhua.yxt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xuerhua.yxt.dao.SchoolWechatArticleMapper;
import com.xuerhua.yxt.model.SchoolWechatArticle;
import com.xuerhua.yxt.page.Page;
import com.xuerhua.yxt.service.ISchoolWechatArticleService;

@Service("schoolWechatArticleService")
public class SchoolWechatArticleServiceImpl implements ISchoolWechatArticleService {

	@Autowired
	private SchoolWechatArticleMapper schoolWechatArticleMapper;
	
	@Override
	public int insertSelective(SchoolWechatArticle record) {
		return schoolWechatArticleMapper.insertSelective(record);
	}

	@Override
	public SchoolWechatArticle selectByPrimaryKey(Integer id) {
		return schoolWechatArticleMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(SchoolWechatArticle record) {
		return schoolWechatArticleMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public List<SchoolWechatArticle> selectListByPage(Page<SchoolWechatArticle> page) {
		return schoolWechatArticleMapper.selectListByPage(page);
	}

	@Override
	public List<SchoolWechatArticle> selectListByParam(SchoolWechatArticle record) {
		return schoolWechatArticleMapper.selectListByParam(record);
	}

}
